How can I check each result on a function and then go to the other function

join shbcf.ru